package me.spring.cloud.common.components.oss.cloud.exception;

import me.spring.cloud.common.components.exception.exceptions.SystemException;
import me.spring.cloud.common.components.rpc.response.CommonResponse;
import me.spring.cloud.common.components.util.enums.CodedEnum;

/**
 * @description: oss源信息错误
 * @author: luffy
 * @create: 2018-09-21 08:38
 **/
public class OssResourceException extends SystemException {

  public OssResourceException(CodedEnum code) {
    super(code);
  }

  public OssResourceException(CodedEnum code, String message) {
    super(code, message);
  }

  public OssResourceException(CodedEnum code, Throwable t) {
    super(code, t);
  }

  @Override
  public CommonResponse<?> handle() {
    return super.handle();
  }
}
